package cn.cheln.support.v4.pagerui;

import android.content.Context;
import android.content.Intent;
import android.net.Uri;

public class PageInfo
{
  public static final String PARENT_CLAZZ = "parentClazz";
  public String action;
  public String[] categories;
  public Object data;
  public Class mCls;
  public Intent mIntent;
  public String title;

  public PageInfo(Context paramContext, String paramString1, Uri paramUri, String[] paramArrayOfString, Intent paramIntent, Class paramClass, String paramString2)
  {
    this.action = paramString1;
    this.data = paramUri;
    this.categories = paramArrayOfString;
    this.mCls = paramClass;
    this.mIntent = new Intent();
    if (paramString1 != null)
      this.mIntent.setAction(paramString1);
    if (paramUri != null)
      this.mIntent.setData(paramUri);
    if (paramIntent != null)
      this.mIntent.putExtras(paramIntent);
    if (paramClass != null)
      this.mIntent.setClassName(paramClass.getPackage().getName(), paramClass.getSimpleName());
    if (this.categories != null)
    {
      arrayOfString = this.categories;
      i = arrayOfString.length;
    }
    for (int j = 0; ; ++j)
    {
      if (j >= i)
      {
        if (paramString2 != null)
          this.mIntent.putExtra("parentClazz", paramString2);
        return;
      }
      String str = arrayOfString[j];
      this.mIntent.addCategory(str);
    }
  }

  public PageInfo(Class paramClass)
  {
    this.mCls = paramClass;
  }

  public boolean equals(Object paramObject)
  {
    PageInfo localPageInfo;
    if (this == paramObject);
    do
    {
      do
      {
        return true;
        if (paramObject == null)
          return false;
        if (super.getClass() != paramObject.getClass())
          return false;
        localPageInfo = (PageInfo)paramObject;
        if (this.mCls != null)
          break label47;
      }
      while (localPageInfo.mCls == null);
      label47: return false;
    }
    while (this.mCls.equals(localPageInfo.mCls));
    return false;
  }

  public int hashCode()
  {
    if (this.mCls == null);
    for (int i = 0; ; i = this.mCls.hashCode())
      return (i + 31);
  }
}

/* Location:           H:\360云盘\lewa_explorer_3.0\bin\FileApp_orig_dex2jar.jar
 * Qualified Name:     cn.cheln.support.v4.pagerui.PageInfo
 * JD-Core Version:    0.5.2
 */